package com.xiaoluo.a17_countdown;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

public class MyService extends Service {
    public MyService() {
    }


    @Override
    public void onCreate() {
        super.onCreate();
        Log.i("xlj1020", "onCreate: ");
        CountDownDialog downDialog = new CountDownDialog(this);
        downDialog.show();
        downDialog.start(5000, 1000);
    }


    @Override
    public IBinder onBind(Intent intent) {
        // TODO: Return the communication channel to the service.
        throw new UnsupportedOperationException("Not yet implemented");
    }
}
